package com.youlu.campus.entity;

import com.youlu.campus.base.base.EntityBase;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 七牛云文件上传记录
 */
@Getter
@Setter
@Document(collection = "qiniu_file_record")
public class QiniuFileRecord extends EntityBase {
    private String ip;
    private String appId;
    private String fileName;
    private String url;
    /**
     * image:图片
     * video:视频
     * excel:图标
     * pdf: pdf 文件
     */
    private String type;
    private String key;
}
